/*
 * Copyright (C) 2018 Zhengzhou grandtech Technology CO.,LTD.
 * All rights reserved.
 * Official Web Site: http://www.grandtech.com.
 * Developer Web Site: http://open.grandtech.com.
 */
package com.grandtech.oss.service;

import com.baomidou.mybatisplus.service.IService;
import com.grandtech.oss.common.pojo.Pagination;
import com.grandtech.oss.module.entity.OSSMaterialInfoResult;
import com.grandtech.oss.module.model.OSSMaterialInfo;

import java.util.HashMap;
import java.util.List;

/***
 *
 * @since:cloud-ims 1.0
 * @author <a href="mailto:yanggh@foxmail.com">yanggh@foxmail.com</a> 
 * 2018/08/15 8:54
 */
public interface OSSMaterialInfoService extends IService<OSSMaterialInfo> {
    /***
     * 查询总量
     * @return
     */
    String queryTotalSpaceByteStr();

    Integer count();


    Pagination<OSSMaterialInfoResult> queryByPage(OSSMaterialInfo ossMaterialInfo, Integer current_page, Integer page_size);

    List<OSSMaterialInfoResult> queryByUserApplication(HashMap<String, String> params);

    List<OSSMaterialInfoResult> queryByUUID(List<String> uuids);

}
